import createAxios from '../utils/axios'
export const getAgreement = (key: string) => {
    // 返回的数据格式可以和服务端约定
    return createAxios({
        url: `/api/setting/value?setting_key=${key}`,
        method: 'GET',
    }, 'API1');
}